package cn.lls.entity.company;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 划水艺术家
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lls_employee_account")
public class EmployeeAccountEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户外键
     */
    private Long userId;

    /**
     * 账号，格式为 {company_id}{工号}
     */
    private String account;

    /**
     * 密码(md5编码，因此固定为32位)
     */
    private String loginPassword;

    /**
     * 逻辑删除 1删除 0未删除
     */
    @TableLogic
    private Integer isDeleted;


}
